%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%  版权所有 Wenliang Du。                                      %%
%%  本作品采用知识共享 Attribution-NonCommercial-ShareAlike 4.0 International License 协议。 %%
%%  您可以通过访问 http://creativecommons.org/licenses/by-nc-sa/4.0/ 查看此许可的副本。              %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

上述 \urlisorurlsare 只能在虚拟机内部访问，因为我们已经修改了 \texttt{/etc/hosts} 文件，将每个 URL 的域名映射到 IP 地址 (\texttt{10.9.0.5})。

您可以使用 \texttt{/etc/hosts} 将任何域名映射到特定的 IP 地址。例如，您可以通过在 \texttt{/etc/hosts} 中添加以下条目将 \url{http://www.example.com} 映射到本地 IP 地址：

\begin{lstlisting}[backgroundcolor=]
   127.0.0.1     www.example.com
\end{lstlisting}